package com.yfp.machine.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

/**
 * (MachinePing)实体类
 *
 *
 * @since 2023-12-14 14:24:50
 */
@Schema(title = "设备心跳")
public class MachinePing implements Serializable {
    private static final long serialVersionUID = -44519622762110265L;
    /**
     * 机器id
     */
    @Schema(title = "机器id")
    private String machineId;
    /**
     * 心跳时间
     */
    @Schema(title = "心跳时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pingTime;


    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public Date getPingTime() {
        return pingTime;
    }

    public void setPingTime(Date pingTime) {
        this.pingTime = pingTime;
    }

}

